- void viewport
- (Screencoord left, Screencoord right,
Screencoord bottom, Screencoord top)
Specify which part of the screen to draw in. Left,
right, bottom, and top are integer values in screen
coordinates.
- void pushviewport
- ()
Save current viewport on the viewport stack.
- void popviewport
- ()
Retrieve last pushed viewport.
- void getviewport
- (Screencoord *left, Screencoord *right,
Screencoord *bottom, Screencoord *top)
Returns the left, right, bottom and top limits of the
current viewport in screen coordinates.